import static org.junit.Assert.*;

import java.util.Date;

import org.junit.Test;


public class TimetableInfoTest
{

	@Test
	public void testFindRoute()
	{
		
		int routeName = TimetableInfo.findRoute("358out");
		assertEquals(359, routeName);
	}

	@Test
	public void testGetNumberOfServicesIntDate()
	{
		Date date = new Date();
		int routeName = TimetableInfo.getNumberOfServices(358, date);
		assertEquals(359, routeName);
		
	}

}
